package com.example.dahua.simplefactory;

/**
 * @author: dangwen
 * @createDate: 2021/1/11
 */
public class OperationAdd extends Operation{
    @Override
    public double getResult() {
        return getOptionNumberA()+getOptionNumberB();
    }
}
